package com.wanbangee.marksystem.service;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="kaoJinBang-examination-setting-provider")
public interface MSubjectServiceApi {
		//调用其他的服务的接口,查询考试的科目
		@RequestMapping(value = "/subject/getSubject",method = RequestMethod.GET)
		public Map<String,Object> selectSubject(@RequestParam("examId")Integer examId);

}
